package com.company.oa.meeting.dto;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * 会议反馈DTO
 */
@Data
public class MeetingFeedbackDTO {
    /**
     * 会议ID
     */
    @NotNull(message = "会议ID不能为空")
    private Long meetingId;

    /**
     * 评分(1-5)
     */
    @NotNull(message = "评分不能为空")
    @Min(value = 1, message = "评分最小为1")
    @Max(value = 5, message = "评分最大为5")
    private Integer rating;

    /**
     * 反馈意见
     */
    private String comment;
} 